//
//  SEGPgcManager.h
//  FrameworkTest
//
//  Created by 刘山 on 2018/4/18.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SEGHTTPBusinessManager.h"
#import "SEGPgcListModel.h"

@interface SEGPgcManager : NSObject

/*
 PGC数据展示Layout // TODO 要删除
 */
//@property (nonatomic, strong) SEGAutoTableViewLayout *pgcDataLayout;

@property (nonatomic, strong) NSArray<SEGPgcRecommendModel *> *pgcModelArray;

/*
 数据刷新条数
 */
@property (nonatomic, assign) NSInteger freshCount;

/**
 * 从本地获取PGC数据
 * @author Sam
 */
-(void)segPGCLayoutFromLocal;

/**
 * 手动刷新数据展示
 * @author Sam
 * @param page  页数
 */
-(void)segRefreshPgcDataWithPageNo:(NSInteger)page finished:(SEGNetworkReponse)finished;

/// 根据ID请求PGC实体
/// @param pgcID pgcID数组
/// @param finished finished
-(void)segRefreshPgcDataWithID:(NSArray *)pgcID finished:(SEGNetworkReponse)finished;

#pragma mark - ========v4.6.0 版本优化========

/**
 * 请求推荐PGC数据
 * 获取服务器推荐数据
 * @author Sam
 * @version 4.6.0
 */
-(void)segRequestRecommendPGCFinished:(SEGNetworkReponse)finished;

@end
